<include file="Shared:Header" />
<body class="Bodybg">
    
<form id="FF">
    <div class="tools" id="tools">
        {:W('RolePerm/RolePermTop')}
    </div>
    <div class="search" id="search">
        <table border="0" id="SearchTable" class="SearchTable" cellpadding="3">
            <thead>
                <tr>
                    <td width="70" align="right">申请号：</td>
                    <td width="175">
                        <input id="LoanNo" name="LoanNo" type="text" />
                    </td>
                    <td width="70" align="right">订单号：</td>
                    <td width="175">
                        <input id="OrderSn" name="OrderSn" type="text" />
                    </td>
                    <td width="70" align="right">类型：</td>
                    <td width="180">
                        <select id="TradeType" name="TradeType">
                            <option value="-5">全部</option>
                          <?php foreach($TradeType as $k=>$v):?>
                            <option value="{$k}">{$v}</option>
                          <?php endforeach;?>
                        </select>
                    </td>
                    <td>
                        <input id="btnSearch" onclick="$.XB.search();" type="button" value="查 看">
                    </td>
                    <td >
                        <input id="MoreSearch" onclick="$.XB.moresearch()" type="button" value="更多条件">
                    </td>
                </tr>
            </thead>
            <tbody id="stbody">
                <tr>
                    <td width="70" align="right">支付类型：</td>
                    <td width="180">
                        <select id="PayType" name="PayType">
                            <option value="-5">全部</option>
                          <?php foreach($PayType as $k=>$v):?>
                            <option value="{$k}">{$v}</option>
                          <?php endforeach;?>
                        </select>
                    </td>
                    <td width="70" align="right">支付状态：</td>
                    <td width="180">
                        <select id="PayStatus" name="PayStatus">
                            <option value="-5">全部</option>
                          <?php foreach($PayStatus as $k=>$v):?>
                            <option value="{$k}">{$v}</option>
                          <?php endforeach;?>
                        </select>
                    </td>
                    <td width="70" align="right">操作时间：</td>
                    <td width="200">
                        <input id="StartTime" name="StartTime" type="text" class="easyui-datebox" data-options="width:93,editable:false" />
                        -
                        <input id="EndTime" name="EndTime" type="text" class="easyui-datebox" data-options="width:93,editable:false" />
                    </td>
                </tr>
            </tbody>
        </table>
    </div>
    <div id="TabelContent" class="TabelContent">
        <table id="DataList"></table>
    </div>
</form>

<script type="text/javascript">
    var frozenColumns = [
        { field: 'ID', checkbox: true },
        { field: 'OrderSn', title: '订单号', width:130},
        { field: 'LoanNo', title: '申请号', width: 130},
    ];
    var columns = [
        { field: 'TrueName', title: '真实姓名', width: 80  },
        { field: 'OrderAmount', title: '支付金额', width: 90  },
        { field: 'CollectionAccount', title: '收款账户', width: 130  },
        { field: 'TradeType', title: '类型', width: 80  },
        { field: 'PayType', title: '支付类型', width: 80  },
        { field: 'PayStatus', title: '支付状态', width: 70  },
        { field: 'UpdateTime', title: '操作时间', width: 130  },
        { field: 'Description', title: '变更描述', width: 260  },
    ];
    $.XB.datagrid({ "frozenColumns": frozenColumns, "columns": columns});
    $.XB.enter();
</script>
    {:W('RolePerm/RolePermBottom')}
</body>
<include file="Shared:Footer" />

